package com.sfh.cp.mass.pst;

import crm.sfh.server.entity.EMass;
import crm.sfh.server.entity.req.ReqPage;
import crm.sfh.server.entity.rsp.TPage;

import com.sfh.cp.mass.pst.impl.PstMass;
import com.sfh.lib.mvp.IPresenter;
import com.sfh.lib.mvp.IView;
import com.sfh.lib.mvp.annotation.Service;

/**
 * 功能描述:社团
 *
 * @author SunFeihu 孙飞虎
 * @date 2018/4/10
 */
@Service(achieve = PstMass.class)
public interface IPstMass extends IPresenter<IPstMass.IVMass> {

    interface IVMass extends IView {
        void onSuccess(TPage<EMass> data);

        void onError(String code, String error);
    }

    void listPageMass(ReqPage page);
}
